﻿using MasterMasterMode.Common.Systems;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.Graphics.Capture;
using Terraria.ID;
using Terraria.ModLoader;

namespace MasterMasterMode.Content.Biomes
{
    public class Armyofwarriorgoldfishes : ModBiome
    {
        public override CaptureBiome.TileColorStyle TileColorStyle => CaptureBiome.TileColorStyle.Normal;

        public override int Music => MusicID.OldOnesArmy;
        public override string BestiaryIcon => base.BestiaryIcon;
        public override string BackgroundPath => base.BackgroundPath;
        public override Color? BackgroundColor => base.BackgroundColor;
        public override string MapBackground => BackgroundPath;
        public override bool IsBiomeActive(Player player)
        {
            bool b = InvasionSystem.ArmyofwarriorgoldfishesUp && Main.player[Main.myPlayer].ZoneOverworldHeight && Main.invasionX == Main.spawnTileX;
            return b;
        }
        public override SceneEffectPriority Priority => SceneEffectPriority.BiomeLow;
    }
}
